[Struts Tag] how to change a link tag: Submit to Anchor

Posted by Davis on Stack Overflow See other posts from Stack Overflow or by Davis
Published on 2009-09-11T18:28:46Z Indexed on 2010/05/30 5:42 UTC
Read the original article Hit count: 313

Filed under:
|
|
|
|

Question> How can I change <s:submit> to <s:a> in struts tag?

I want to send parameters to next page(action) by post (not get)

<s:form action="products" method="post" theme="simple">
  <s:hidden name="code" value="%{code}"/>
  <s:submit type="button" method="selectSale" value="see"/>
</s:form>

© Stack Overflow or respective owner

Related posts about struts

Related posts about link